def replacer(text: str, chars: list[str]) -> str:
    formated_text = text
    for c in chars:
        formated_text = formated_text.replace(c, f"\{c}")

    return formated_text
